package com.ss.ttm.player;

import android.media.AudioTrack;

public final class a {
    private static final int[] a = new int[]{5644800, 2822400, 352800, 192000, 176400, 96000, 88200, 50400, 50000, 4800, 47250, 44100, 44056, 37800, 32000, 22050, 16000, 11025, 8000};

    public static int a() {
        return 19;
    }

    public static int a(int[] arg5) {
        int v0 = 0;
        int v1;
        for (v1 = 0; v1 < 19; ++v1) {
            int v2 = AudioTrack.getMinBufferSize(com.ss.ttm.player.a.a[v1], 16, 2);
            if (v2 != -1 && v2 != -2 && v2 > 0) {
                arg5[v0] = com.ss.ttm.player.a.a[v1];
                ++v0;
            }
        }

        return v0;
    }

    public static boolean b() {
        int v0 = AudioTrack.getMinBufferSize(44100, 16, 4);
        boolean v0_1 = v0 == -1 || v0 == -2 || v0 <= 0 ? false : true;
        return v0_1;
    }
}

